<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="liYunLong">你真是个天才</div>
    <script>
        var zm = document.getElementById('liYunLong')
        zm.onclick = function () {
            let tools = {
                fn1: function (liYunLong) {
                    console.log(zm);
                    return this
                },
                fn2: function (red) {
                    zm.style.color = red
                    console.log(red);
                    return this
                },
                fn3: function (a) {
                    console.log(zm.style);
                    zm.style.fontSize = a
                    return this
                },
                click: function (b) {
                    alert(b)
                }
            }
            tools.fn1('liYunLong').fn2('red').fn3("50px").click('你呀，总能整点花')
        }
    </script>
</body>

</html>